//
//  Information.m
//  YYZB
//
//  Created by 顾悦 on 16/3/25.
//
//

#import "Information.h"

@implementation Information

- (instancetype)initWithDictionary:(NSDictionary *)d {
    Information *item = [self class].new;
    item.ID = d[@"InformationId"];
    item.name =  d[@"InformationName"];
    item.icon = d[@"ImagePath"];  //   key改变了
    item.title = d[@"Title"];//d[@"Title"];
    item.about = d[@"Description"];//d[@"About"];
    
    item.linkType = d[@"LinkType"];
    item.linkUrl = d[@"LinkUrl"];
    return item;
}

@end
